import Events from '@/model/Events';

class LogController {
  // 查询日志列表
  async getLogList(ctx) {
    const page = 0;
    const limit = 20;

    const result = await Events.getList(page, limit);

    ctx.body = {
      code: 200,
      data: result,
      msg: '成功获取日志列表',
    };
  }
}

export default new LogController();
